package com.util;


import java.util.List;
import java.util.Map;

/**
 * @author ZhangDe 
 * @version 創建時間：Apr 13, 2009 11:46:28 AM
 * 類說明:Excel的模型，模仿Excel的結構
 */
public class ExcelBean {
	
	private String path; //Excel寫入的路徑名
	private String sheetName; //工作表名稱（Excel的左下角）
	private int row; //行數
	private int col; //列數
	private List<String> titleList; //列表頭標題
	private int[] width; //每列所占寬度
	private List dataList; //數據集合
	private Map titleMaps;//合並單元 子類型為：LinkedMap
	
	private List<Object> formula;//統計sum    ["字符串","SUM(A1:BQ)"]加强工能
	
	
	public Map getTitleMaps() {
		return titleMaps;
	}
	public void setTitleMaps(Map titleMaps) {
		this.titleMaps = titleMaps;
	}
	public List getDataList() {
		return dataList;
	}
	public void setDataList(List dataList) {
		this.dataList = dataList;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}

	public List<String> getTitleList() {
		return titleList;
	}
	public void setTitleList(List<String> titleList) {
		this.titleList = titleList;
	}
	public int[] getWidth() {
		return width;
	}
	public void setWidth(int[] width) {
		this.width = width;
	}
	public int getCol() {
		return col;
	}
	public void setCol(int col) {
		this.col = col;
	}
	public int getRow() {
		return row;
	}
	public void setRow(int row) {
		this.row = row;
	}
	public String getSheetName() {
		return sheetName;
	}
	public void setSheetName(String sheetName) {
		this.sheetName = sheetName;
	}
	public List<Object> getFormula() {
		return formula;
	}
	public void setFormula(List<Object> formula) {
		this.formula = formula;
	}
	

}
